package com.fyy.kafuka.model;

import com.fyy.kafuka.common.Protobufable;

/**
 * @Author fyy
 * @Description
 * @Date 2020/10/27 14:28
 */
public class Test implements Protobufable {

    private int id;
    private String name;
    private String age;

    /**
     * @Author fyy
     * @Description 无参构造方法
     * @Date 2020/10/27 14:30
     */
    public Test(){}

    /**
     * @Author fyy
     * @Description 有参构造方法
     * @Date 2020/10/27 14:30
     */
    public Test(int id,String name,String age){
        super();
        this.id = id;
        this.name = name;
        this.age = age;
    }

    @Override
    public byte[] encode() {
        return new byte[0];
    }
}
